package com.neuedu.weishi.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
import com.neuedu.weishi.entity.VideoFavorite;


/**
* Author lu
* Date   2025-08-26 09:11:00
*/
public interface IVideoFavoriteService {

   /**
    * 条件查询,返回对象列表
    * @param videoFavorite
    * @return
    */
    List<VideoFavorite> selectList(VideoFavorite videoFavorite);
    
   /**
    * 分页查询
    *
    * @param page
    * @return
    */
    IPage<VideoFavorite> selectPage(IPage<VideoFavorite> page);
    
   /**
    * 根据ID查询返回一个对象
    *
    * @param favoriteId
    * @return
    */
    VideoFavorite selectById(Integer favoriteId);
    
   /**
    * 根据ID删除
    *
    * @param favoriteId
    * @return
    */
    int deleteById(Integer favoriteId);
    
   /**
    * 根据条件删除
    *
    * @param videoFavorite
    * @return
    */
    int delete(VideoFavorite videoFavorite);

   /**
    * 添加
    *
    * @param  videoFavorite
    * @return
    */
    int insert(VideoFavorite videoFavorite);
    
   /**
    * 根据ID修改
    *
    * @param videoFavorite
    * @return
    */
    int updateById(VideoFavorite videoFavorite);

   /**
    * 根据条件修改
    *
    * @param videoFavorite
    * @return
    */
    int update(VideoFavorite videoFavorite);
}